package test;

import javax.swing.JToolBar;
import javax.swing.JButton;
import javax.swing.ImageIcon;
import javax.swing.JTextField;
 
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JTextArea;
import javax.swing.JScrollPane;
import javax.swing.JPanel;
import javax.swing.UIManager;
import javax.swing.SwingUtilities;
 
import java.net.URL;
 
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
 
public class StatusBar extends JPanel implements ActionListener {

	public StatusBar() {
        super(new BorderLayout());
        JToolBar toolBar = new JToolBar("Status Bar");
        toolBar.setFloatable(false);
        toolBar.setRollover(true);
 
        JLabel jalbel = new JLabel("Message");
        toolBar.add(jalbel);
        toolBar.addSeparator();
        toolBar.add(new JLabel("new Date"));
        add(toolBar, BorderLayout.PAGE_START);
    }

	public void actionPerformed(ActionEvent e) {
		// TODO Auto-generated method stub
	}

}